import request from '@/utils/request'

// 查询商品监控请求列表
export function listBiMonitoringMiddleReq(query) {
  return request({
    url: '/sale/BiMonitoringMiddleReq/list',
    method: 'get',
    params: query
  })
}

// 查询商品监控请求详细
export function getBiMonitoringMiddleReq(id) {
  return request({
    url: '/sale/BiMonitoringMiddleReq/' + id,
    method: 'get'
  })
}

// 新增商品监控请求
export function addBiMonitoringMiddleReq(data) {
  return request({
    url: '/sale/BiMonitoringMiddleReq',
    method: 'post',
    data: data
  })
}

// 修改商品监控请求
export function updateBiMonitoringMiddleReq(data) {
  return request({
    url: '/sale/BiMonitoringMiddleReq',
    method: 'put',
    data: data
  })
}

// 删除商品监控请求
export function delBiMonitoringMiddleReq(id) {
  return request({
    url: '/sale/BiMonitoringMiddleReq/' + id,
    method: 'delete'
  })
}
